package com.woniuxy.rabbit.configuration;


import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;


/**
 * @author: 15489  <br/>
 * Date: 2022/4/6:14:34  <br/>
 * Description:
 */
@Configuration
public class RabbitConfiguration {
//    simple work
    @Bean
    public Queue simleQueue(){
        return new Queue("simple_queue");
    }
}
